package com.deyuanyun.pic.settings.mapper.prvlg;

import java.util.List;
import java.util.Map;

import com.deyuanyun.pic.settings.domain.prvlg.UserGroup;

public interface UserGroupMapper {
    int deleteByPrimaryKey(String id);

    int insert(UserGroup record);

    int insertSelective(UserGroup record);

    UserGroup selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(UserGroup record);

    int updateByPrimaryKey(UserGroup record);

	List getUserGroupManagerIndex();

	List<UserGroup> selectUserGroupByName(Map<String, Object> praMap);

	List<String> selectRoleByUserGroupId(String id);

	List selectAllRole();

	int deleteAuthorize(String id);

	void saveAuthorize(Map<String, Object> map);

	List searchUserGroup(Map<String, Object> map);

	List selectAllUserGroup(Map<String, Object> map);

}